//package uk.ac.bath.Operator;
package uk.ac.bath.machines.bool;
import uk.ac.bath.legacy.Value;
import java.io.*;

public class And extends BinaryOperator {

    public void binaryOp(Value a,Value b,Value c) {
	c.set(Math.min(a.val,b.val));
    }


    public Object clone() {
        return this;
    }

    public void toString(StringWriter w) {
        w.write("And ");
    }

}
